package com.foreknow.elm.service;

import com.foreknow.elm.po.OrderDetailet;

import java.util.List;

public interface OrderDetailetService {
    /**
     *保存订单
     * @param list
     * @return
     * @throws Exception
     */
    public int saveOrderDetailetBatch(List<OrderDetailet> list);

    /**
     *依据订单编号查询订单
     * @param orderId
     * @return
     * @throws Exception
     */
    public List<OrderDetailet> listOrderDetailetByOrderId(Integer orderId);
}
